package com.jair.domain;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
//准考证号	姓名	语文	数学	英语	物理	化学	生物	理综	政治	历史	地理	文综
@Entity
@Table(name = "scores")
public class Scores {
	private int id;
	private String sheetName;
	private String stuId;
	private String name;
	private Integer chiScore;
	private Integer mathScore;
	private Integer engScore;
	private Integer physicsScore;
	private Integer chemScore;
	private Integer biogyScore;
	private Integer scienceScore;//理科
	private Integer politicsScore;
	private Integer historyScore;
	private Integer geographyScore;
	private Integer artsScore;//文综
	
	public Scores(){
		
	}
	public Scores(String sheetName, String stuId, String name, Integer chiScore, Integer mathScore, Integer engScore,
			Integer physicsScore, Integer chemScore, Integer biogyScore, Integer scienceScore, Integer politicsScore,
			Integer historyScore, Integer geographyScore, Integer artsScore) {
		super();
		this.sheetName = sheetName;
		this.stuId = stuId;
		this.name = name;
		this.chiScore = chiScore;
		this.mathScore = mathScore;
		this.engScore = engScore;
		this.physicsScore = physicsScore;
		this.chemScore = chemScore;
		this.biogyScore = biogyScore;
		this.scienceScore = scienceScore;
		this.politicsScore = politicsScore;
		this.historyScore = historyScore;
		this.geographyScore = geographyScore;
		this.artsScore = artsScore;
	}
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name="id",nullable=false)
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	@Column(name="sheet_name",nullable=false)
	public String getSheetName() {
		return sheetName;
	}
	public void setSheetName(String sheetName) {
		this.sheetName = sheetName;
	}
	@Column(name="stu_id",nullable=false)
	public String getStuId() {
		return stuId;
	}
	public void setStuId(String stuId) {
		this.stuId = stuId;
	}
	@Column(name="name",nullable=false)
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(name="chi_score",nullable=false)
	public Integer getChiScore() {
		return chiScore;
	}
	public void setChiScore(Integer chiScore) {
		this.chiScore = chiScore;
	}
	@Column(name="math_score",nullable=false)
	public Integer getMathScore() {
		return mathScore;
	}
	public void setMathScore(Integer mathScore) {
		this.mathScore = mathScore;
	}
	@Column(name="eng_score",nullable=false)
	public Integer getEngcore() {
		return engScore;
	}
	public void setEngcore(Integer engScore) {
		this.engScore = engScore;
	}
	@Column(name="physics_score",nullable=false)
	public Integer getPhysicsScore() {
		return physicsScore;
	}
	public void setPhysicsScore(Integer physicsScore) {
		this.physicsScore = physicsScore;
	}
	@Column(name="chem_score",nullable=false)
	public Integer getChemScore() {
		return chemScore;
	}
	public void setChemScore(Integer chemScore) {
		this.chemScore = chemScore;
	}
	@Column(name="biogy_score",nullable=false)
	public Integer getBiogyScore() {
		return biogyScore;
	}
	public void setBiogyScore(Integer biogyScore) {
		this.biogyScore = biogyScore;
	}
	@Column(name="science_score",nullable=false)
	public Integer getScienceScore() {
		return scienceScore;
	}
	public void setScienceScore(Integer scienceScore) {
		this.scienceScore = scienceScore;
	}
	@Column(name="politics_score",nullable=false)
	public Integer getPoliticsScore() {
		return politicsScore;
	}
	public void setPoliticsScore(Integer politicsScore) {
		this.politicsScore = politicsScore;
	}
	@Column(name="history_score",nullable=false)
	public Integer getHistoryScore() {
		return historyScore;
	}
	public void setHistoryScore(Integer historyScore) {
		this.historyScore = historyScore;
	}
	@Column(name="geography_score",nullable=false)
	public Integer getGeographyScore() {
		return geographyScore;
	}
	public void setGeographyScore(Integer geographyScore) {
		this.geographyScore = geographyScore;
	}
	@Column(name="arts_score",nullable=false)
	public Integer getArtsScore() {
		return artsScore;
	}
	public void setArtsScore(Integer artsScore) {
		this.artsScore = artsScore;
	}
	
	
}
